package com.sky.dto;

import io.swagger.annotations.ApiModelProperty;

public class pageDTO {

    @ApiModelProperty("分页查询")
    private int page;
    @ApiModelProperty("每页记录条数")
    private int pageSize;
    public void check(){
        if(page<=0){
            page=1;
        }
        if(pageSize<=0||pageSize > 100){
            pageSize=10;
        }
    }


}
